str=input("输入一个字符串，以回车结束:")
dp={}
for i in str:
    if i in dp:
        dp[i]=dp[i]+1
    else:
        dp[i]=1
print(dp)
